import request from '../utils/fetch'
export function getTeacherList(data) {
  return request({
    url: '/admin/teacher/getTeacherList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function checkTeacher(data) {
  return request({
    url: '/admin/teacher/checkTeacher',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function delTeachTitle(data) {
  return request({
    url: '/admin/teacher/delTeachTitle',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function editTeachTitle(data) {
  return request({
    url: '/admin/teacher/editTeachTitle',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}

export function editTeacher(data) {
  return request({
    url: '/admin/teacher/editTeacher',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function enableTeacher(data) {
  return request({
    url: '/admin/teacher/enableTeacher',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getTeacherTitleList(data) {
  return request({
    url: '/admin/teacher/getTeacherTitleList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
export function setTeacherFerrer(data) {
  return request({
    url: '/admin/teacher/setTeacherFerrer',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function addTeachTitle(data) {
  return request({
    url: '/admin/teacher/addTeachTitle',
    method: 'post',
    requestBody: 'query',
    loading: true,
    data: data
  })
}
export function getTeacherCheckList(data) {
  return request({
    url: '/admin/teacher/getTeacherCheckList',
    method: 'get',
    requestBody: 'query',
    loading: true,
    params: data
  })
}
